﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using TMDT_Nhom1A.DAO;
using TMDT_Nhom1A.DTO;
using System.Collections.Generic;

namespace TMDT_Nhom1A.BUS
{
    public class AccountTransportWebserviceBUS
    {
        public static List<AccountTransportWebserviceDTO> getAccountTransportWS(int transportId)
        {
            return AccountTransportWebserviceDAO.getAccountTransportWS(transportId);
        }

        public static bool insertAccountTransportWS(AccountTransportWebserviceDTO account)
        {
            return AccountTransportWebserviceDAO.insertAccountTransportWS(account);
        }

        public static bool updateAccountTransportWS(AccountTransportWebserviceDTO account)
        {
            return AccountTransportWebserviceDAO.updateAccountTransportWS(account);
        }

        public static bool deleteAccountTransportWS(int id)
        {
            return AccountTransportWebserviceDAO.deleteAccountTransportWS(id);
        }
    }
}
